{{include file="VIEW_PATH/header.php"/}}
<body>
    <form method="post">
        <table class="hd-table hd-table-form hd-form">
            <thead>
                <tr>
                    <td colspan="2">添加管理员</td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <th>名称</th>
                    <td>
                        <input type="text" name="username" class="hd-w300">
                    </td>
                </tr>
                <tr>
                    <th>密码</th>
                    <td>
                        <input type="password" name="password" class="hd-w300">
                    </td>
                </tr>
                <tr>
                    <th>确认密码</th>
                    <td>
                        <input type="password" name="c_password" class="hd-w300">
                    </td>
                </tr>
                <tr>
                    <th>角色</th>
                    <td>
                        <select name="role_id" id="">
                            {{foreach from="$role" key="$k" value="$v"}}
                                <option value="{{$v['id']}}}">{{$v['name']}}</option>
                            {{endforeach}}
                        </select>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" class="hd-btn hd-btn-primary">
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
